from report import report_sxw
import time


class account_invoice_filia1(report_sxw.rml_parse):
    def __init__(self, cr, uid, name, context):
        super(account_invoice_filia1, self).__init__(cr, uid, name, context=context)
        self.localcontext.update({
            'time': time,
        })


class account_invoice_filia2(report_sxw.rml_parse):
    def __init__(self, cr, uid, name, context):
        super(account_invoice_filia2, self).__init__(cr, uid, name, context=context)
        self.localcontext.update({
            'time': time,
        })


report_sxw.report_sxw(
    'report.account.invoice.filia1',
    'account.invoice',
    'addons/report_filia/report/account_print_invoice_cdist.rml',
    parser=account_invoice_filia1
)

report_sxw.report_sxw(
    'report.account.invoice.filia2',
    'account.invoice',
    'addons/report_filia/report/account_print_invoice_cdist.rml',
    parser=account_invoice_filia2
)
